package com.tudouji.project.product.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.tudouji.framework.aspectj.lang.annotation.Excel;
import com.tudouji.framework.web.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 商品管理对象 productinfo
 * 
 * @author wf
 * @date 2020-12-28
 */
@Data
public class Productinfo extends BaseEntity {
	private static final long serialVersionUID = 1L;

	/** 主键 */
	private String guid;

	/** 商品名称 */
	@Excel(name = "商品名称")
	private String productname;

	/** 状态 */
	@Excel(name = "状态")
	private Integer status;

	/** 创建时间 */
	@JsonFormat(pattern = "yyyy-MM-dd")
	@Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
	private Date createdate;

	/** 操作人 */
	private String operatorid;

	/** 最后更新时间 */
	@JsonFormat(pattern = "yyyy-MM-dd")
	@Excel(name = "最后更新时间", width = 30, dateFormat = "yyyy-MM-dd")
	private Date lastupdate;

	/** 品类 */
	@Excel(name = "品类")
	private String category;

	/** 标识 */
	@Excel(name = "标识")
	private String productflag;
	private String[] proflags;
	private String[] categoryids;

	private Category categoryClass;
	
	private Integer series;

	@Excel(name = "税率")
	private BigDecimal tax;

	private String orgguid;

	private String type;

}
